package com.dcits.account.mapper;

import com.dcits.account.entity.po.BillEntity;
import com.dcits.account.entity.po.BillEntityExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface BillEntityMapper {
    int countByExample(BillEntityExample example);

    int deleteByExample(BillEntityExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(BillEntity record);

    int insertSelective(BillEntity record);

    List<BillEntity> selectByExample(BillEntityExample example);

    BillEntity selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") BillEntity record, @Param("example") BillEntityExample example);

    int updateByExample(@Param("record") BillEntity record, @Param("example") BillEntityExample example);

    int updateByPrimaryKeySelective(BillEntity record);

    int updateByPrimaryKey(BillEntity record);

    List<Map<String,Object>> selectTypeAndCountByDate(@Param("params") Map<String,Object> params);
}